<%@page import="tx.bjdacp.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

<rapid:override name="head">
	<title><%=SampleInfo.TABLE_ALIAS%>信息</title>
</rapid:override>

<rapid:override name="content">
	<s:form action="/pages/SampleInfo/list.do" method="get" theme="simple">
		<input type="button" value="返回列表" onclick="window.location='${ctx}/pages/SampleInfo/list.do'"/>
		<input type="button" value="后退" onclick="history.back();"/>

		<s:hidden name="sampleInfoId" id="sampleInfoId" value="%{model.sampleInfoId}"/>

		<table class="formTable">

			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_SAMPLE_NUMBER%></td>
				<td><s:property value="%{model.sampleNumber}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_SAMPLE_DATE%></td>
				<td><s:property value="%{model.sampleDateString}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_SAMPLED_UNIT_NAME%></td>
				<td><s:property value="%{model.sampledUnitName}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_UNIT_KIND%></td>
				<td><s:property value="%{model.unitKind}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_SAMPLE_UNIT%></td>
				<td><s:property value="%{model.sampleUnit}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_SAMPLE_PRODUCT%></td>
				<td><s:property value="%{model.sampleProduct}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_PRODUCT_TYPE%></td>
				<td><s:property value="%{model.productType}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_AMOUNT%></td>
				<td><s:property value="%{model.amount}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_BATCH_NUMBER%></td>
				<td><s:property value="%{model.batchNumber}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_SAMPLE_KIND%></td>
				<td><s:property value="%{model.sampleKind}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_REPORT_NUMBER%></td>
				<td><s:property value="%{model.reportNumber}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_REPORT_DATE%></td>
				<td><s:property value="%{model.reportDateString}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_REPORT_RESULT%></td>
				<td><s:property value="%{model.reportResult}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_RECEIVE_REPORT_DATE%></td>
				<td><s:property value="%{model.receiveReportDateString}" /></td>
			</tr>
			<tr>
				<td class="tdLabel"><%=SampleInfo.ALIAS_SAMPLE_YEAR%></td>
				<td><s:property value="%{model.sampleYear}" /></td>
			</tr>
		</table>

		<input type="button" value="返回列表" onclick="window.location='${ctx}/pages/SampleInfo/list.do'"/>
		<input type="button" value="后退" onclick="history.back();"/>
	</s:form>
</rapid:override>

<%-- jsp模板继承,具体使用请查看: http://code.google.com/p/rapid-framework/wiki/rapid_jsp_extends --%>
<%@ include file="base.jsp" %>